import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
    {
        path: "/",
        name: "AddFinancing",
        component: () => import('../views/AddFinancing.vue')
    },
    {
        path: "/ShowFinancing",
        name: "ShowFinancing",
        component: () => import('../views/ShowFinancing.vue')
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

//导出路由
export default router
